package org.elec.mac.entity;

import io.swagger.annotations.ApiModel;
import lombok.Data;

import javax.validation.constraints.NotNull;

/**
 * Created by Bean on 2017/6/20.
 */
@Data
@ApiModel(value = "Login")
public class LoginRequest {

    @NotNull(message = "username is not null")
    private String username;

    @NotNull(message = "password is not null")
    private String password;


}
